<%= render :partial => "header" %>

<h2>次要创作方式列表</h2>
<ul>
  <% for contribute_type in @contribute_types %>
    <li> <%= contribute_type.title %>: <%= contribute_type.about %> <%= link_to "＊", :action => "edit_contribute_type", :id => contribute_type %>/<%= link_to "－", {:action => "destroy_contribute_type", :id => contribute_type}, :confirm => '您确信要删除该次要创作方式吗？', :method => :post %></li>
  <% end %> 
</ul>
<h2>新建次要创作方式</h2>
<%= start_form_tag :action => "add_contribute_type" %>
  <%= render :partial => "cbform" %>
  <%= submit_tag "添加次要创作方式" %>
<%= end_form_tag %>
